<?php

/*
	[SupeSite] (C) 2007-2009 Comsenz Inc.
	$Id: admin_spacenews.php 13513 2009-11-26 07:34:15Z zhaofei $
*/

if(!defined('IN_SUPESITE')) {
	exit('Access Denied');
}

if(!empty($_SGLOBAL['user']['phonenum'])){
    $phonenum = array('phonenum'=>$_SGLOBAL['user']['phonenum'],'pg'=>$_GET['pg']);

    $modelClass = 'app\com\simtoon\models\UserHouse';
    $data = YiiComm::executeByMethod($modelClass,'getHouseRecord',$phonenum);
    $pagin = $data->getPagination();

    $pagin = objectToArray($pagin);
    $recordResult = $data->getModels();
}
include template('cp_houserecord');

?>
